/**
 *
 */
package com.eit.eitsite.modules.sys.security;

/**
 * 用户和密码（包含验证码）令牌类
 *
 * @author eit
 * @version 2013-5-19
 */
public class UsernamePasswordToken extends org.apache.shiro.authc.UsernamePasswordToken {

    private static final long serialVersionUID = 1L;

    private String captcha;
    private boolean mobileLogin;
    private String orgcode;
    private String regpushid;

    public UsernamePasswordToken() {
        super();
    }

    public UsernamePasswordToken(String username, char[] password,boolean rememberMe, String host, String captcha, boolean mobileLogin) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
        this.mobileLogin = mobileLogin;
    }

    public UsernamePasswordToken(String username, char[] password,boolean rememberMe, String host, String captcha, boolean mobileLogin, String orgcode) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
        this.mobileLogin = mobileLogin;
        this.orgcode = orgcode;
    }

    public UsernamePasswordToken(String username, char[] password,boolean rememberMe, String host, String captcha, boolean mobileLogin, String orgcode, String regpushid) {
        super(username, password, rememberMe, host);
        this.captcha = captcha;
        this.mobileLogin = mobileLogin;
        this.orgcode = orgcode;
        this.regpushid = regpushid;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public boolean isMobileLogin() {
        return mobileLogin;
    }

    public String getOrgcode() {
        return orgcode;
    }

    public String getRegpushid() {
        return regpushid;
    }

    public void setRegpushid(String regpushid) {
        this.regpushid = regpushid;
    }
}